<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Exil: Référence du fichier src/Relation.h</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Exil
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Généré par Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&#160;de&#160;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Recherche" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Variables&#160;globale</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#nested-classes">Structures de données</a> &#124;
<a href="#func-members">Fonctions</a>  </div>
  <div class="headertitle">
<div class="title">Référence du fichier src/Relation.h</div>  </div>
</div><!--header-->
<div class="contents">

<p>Définit la structure <a class="el" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a>.  
<a href="#details">Plus de détails...</a></p>

<p><a href="_relation_8h_source.html">Aller au code source de ce fichier.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Structures de données</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_relation.html">Relation</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Informations définissant une relation diplomatique.  <a href="struct_relation.html#details">Plus de détails...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Fonctions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_relation_8h.html#adbcddf1852dec1beb3a09998ca2e6ea6">initRelation</a> (<a class="el" href="struct_relation.html">Relation</a> *relation, const int valCommerce, const int valMenaceMilit, const int valEmpathie)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">initialise les valeurs d'une relation  <a href="#adbcddf1852dec1beb3a09998ca2e6ea6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_relation_8h.html#abd8a7170f9bc333f8eadef2171e051a2">getCommerce</a> (const <a class="el" href="struct_relation.html">Relation</a> relation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">récupère la valeur qui quantifie les relations commerciales  <a href="#abd8a7170f9bc333f8eadef2171e051a2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_relation_8h.html#a93b2c1389be84cf193b49adc9ea128a6">getMenaceMilt</a> (cont <a class="el" href="struct_relation.html">Relation</a> relation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">récupère la valeur qui quantifie le taux d'hostilité dans la relation  <a href="#a93b2c1389be84cf193b49adc9ea128a6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_relation_8h.html#a97ff757d36e2de0799e671981645d954">getEmpathie</a> (const <a class="el" href="struct_relation.html">Relation</a> relation)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">récupère la valeur d'empathie dans la relation  <a href="#a97ff757d36e2de0799e671981645d954"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_relation_8h.html#ac9f5232a3c44cdd2b385b3cb5dcd23f9">setCommerce</a> (<a class="el" href="struct_relation.html">Relation</a> *relation, const int varCommerce)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">ajoute la valeur donnée en paramètre à la valeurs de commerce de la relation  <a href="#ac9f5232a3c44cdd2b385b3cb5dcd23f9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_relation_8h.html#a536cd6feefbb04480a5f948994fb4205">setMenaceMilit</a> (<a class="el" href="struct_relation.html">Relation</a> *relation, const int varMenaceMilit)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">ajoute la valeur donnée en paramètre à la valeurs d'animosité de la relation  <a href="#a536cd6feefbb04480a5f948994fb4205"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_relation_8h.html#a07913528f287346273e8a1c0efb8edff">setEmpathie</a> (<a class="el" href="struct_relation.html">Relation</a> *relation, const int varEmpathie)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">ajoute la valeur donnée en paramètre à la valeurs d'empathie de la relation  <a href="#a07913528f287346273e8a1c0efb8edff"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Description détaillée</h2>
<div class="textblock"><p>Définit la structure <a class="el" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a>. </p>
<p>C'est ici que sont définis la structure <a class="el" href="struct_relation.html" title="Informations définissant une relation diplomatique.">Relation</a>, ses accesseurs, ses mutateurs. </p>
</div><hr/><h2>Documentation des fonctions</h2>
<a class="anchor" id="abd8a7170f9bc333f8eadef2171e051a2"></a><!-- doxytag: member="Relation.h::getCommerce" ref="abd8a7170f9bc333f8eadef2171e051a2" args="(const Relation relation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_relation_8h.html#abd8a7170f9bc333f8eadef2171e051a2">getCommerce</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_relation.html">Relation</a>&#160;</td>
          <td class="paramname"><em>relation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>récupère la valeur qui quantifie les relations commerciales </p>

</div>
</div>
<a class="anchor" id="a97ff757d36e2de0799e671981645d954"></a><!-- doxytag: member="Relation.h::getEmpathie" ref="a97ff757d36e2de0799e671981645d954" args="(const Relation relation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_relation_8h.html#a97ff757d36e2de0799e671981645d954">getEmpathie</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="struct_relation.html">Relation</a>&#160;</td>
          <td class="paramname"><em>relation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>récupère la valeur d'empathie dans la relation </p>

</div>
</div>
<a class="anchor" id="a93b2c1389be84cf193b49adc9ea128a6"></a><!-- doxytag: member="Relation.h::getMenaceMilt" ref="a93b2c1389be84cf193b49adc9ea128a6" args="(cont Relation relation)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_relation_8h.html#a93b2c1389be84cf193b49adc9ea128a6">getMenaceMilt</a> </td>
          <td>(</td>
          <td class="paramtype">cont <a class="el" href="struct_relation.html">Relation</a>&#160;</td>
          <td class="paramname"><em>relation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>récupère la valeur qui quantifie le taux d'hostilité dans la relation </p>

</div>
</div>
<a class="anchor" id="adbcddf1852dec1beb3a09998ca2e6ea6"></a><!-- doxytag: member="Relation.h::initRelation" ref="adbcddf1852dec1beb3a09998ca2e6ea6" args="(Relation *relation, const int valCommerce, const int valMenaceMilit, const int valEmpathie)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_relation_8h.html#adbcddf1852dec1beb3a09998ca2e6ea6">initRelation</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_relation.html">Relation</a> *&#160;</td>
          <td class="paramname"><em>relation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>valCommerce</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>valMenaceMilit</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>valEmpathie</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>initialise les valeurs d'une relation </p>

</div>
</div>
<a class="anchor" id="ac9f5232a3c44cdd2b385b3cb5dcd23f9"></a><!-- doxytag: member="Relation.h::setCommerce" ref="ac9f5232a3c44cdd2b385b3cb5dcd23f9" args="(Relation *relation, const int varCommerce)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_relation_8h.html#ac9f5232a3c44cdd2b385b3cb5dcd23f9">setCommerce</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_relation.html">Relation</a> *&#160;</td>
          <td class="paramname"><em>relation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>varCommerce</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>ajoute la valeur donnée en paramètre à la valeurs de commerce de la relation </p>

</div>
</div>
<a class="anchor" id="a07913528f287346273e8a1c0efb8edff"></a><!-- doxytag: member="Relation.h::setEmpathie" ref="a07913528f287346273e8a1c0efb8edff" args="(Relation *relation, const int varEmpathie)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_relation_8h.html#a07913528f287346273e8a1c0efb8edff">setEmpathie</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_relation.html">Relation</a> *&#160;</td>
          <td class="paramname"><em>relation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>varEmpathie</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>ajoute la valeur donnée en paramètre à la valeurs d'empathie de la relation </p>

</div>
</div>
<a class="anchor" id="a536cd6feefbb04480a5f948994fb4205"></a><!-- doxytag: member="Relation.h::setMenaceMilit" ref="a536cd6feefbb04480a5f948994fb4205" args="(Relation *relation, const int varMenaceMilit)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="_relation_8h.html#a536cd6feefbb04480a5f948994fb4205">setMenaceMilit</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_relation.html">Relation</a> *&#160;</td>
          <td class="paramname"><em>relation</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>varMenaceMilit</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>ajoute la valeur donnée en paramètre à la valeurs d'animosité de la relation </p>

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Définitions de type</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Généré le Mardi Juin 4 2013 00:35:15 pour Exil par &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
